" magic
augroup vimrc
    autocmd!
augroup END

" (reasonable) settings
set number
set linebreak
set showbreak=+++
set showmatch
set visualbell
set hlsearch
set smartcase
set ignorecase
set incsearch
set ruler
set autoindent
set expandtab
set shiftwidth=4
set smartindent
set smarttab
set softtabstop=4

set backspace=indent,eol,start

nnoremap <tab> gt
nnoremap <S-tab> gT

" plug things
" call plug#begin(stdpath('data') . '/plugged')
call plug#begin()
Plug 'scrooloose/nerdtree'
Plug 'junegunn/fzf', { 'do': { -> fzf#install() } }
Plug 'junegunn/fzf.vim'
call plug#end()

map <C-s> :GFiles<CR>
map <C-n> :NERDTreeToggle<CR>

